<div class="ui-layout-north header">
    <div class="header">
    <div class="frame-top-list"><a href="{ROOT_URL}" target="_blank" title="预览"><i class="iconfont pt">&#xf0b2;</i></a></div>
    <div class="logo"><a href="{url('default/index')}" target="_top" class="fn-pngfix"></a></div>
    <ul class="frame-top-nav">
    <li><a class="nav focus" href="{url('default/index')}" target="_top"><i class="iconfont">&#xf015;</i> 首页</a></li> 
    {loop $nav $rs}
    <li><a class="nav" href="###" uid="{url($rs['url'],array('id'=>$rs['id']))}">{htmlspecialchars_decode($rs['name'])}</a></li> 
    {/loop}
</ul>
    <div class="frame-top-menu">
        <li><a class="focus" href="{url('user/index')}" rel="targetBox" id="UserList" target="main"><i class="iconfont">&#xf007;</i> 帐号</a></li>
    </div>
    </div> 
</div>  
<div class="ui-layout-west" id="menu">
    <div class="off" style="cursor:pointer;"><i class="iconfont">&#xf108;</i> 首页</div>
    <ul>
    <li><a href="{url('default/welcome')}" target="main"><i class="iconfont">&#xf0da;</i> 欢迎页</a></li>
    <li><a href="{url('default/news')}" target="main"><i class="iconfont">&#xf0da;</i> 官方通知</a></li>
    <li><a href="http://ta.qq.com/" target="_blank"><i class="iconfont">&#xf0da;</i> 访问统计</a></li>
    <li><a href="http://doc.easyes.com.cn" target="_blank"><i class="iconfont">&#xf0da;</i> 入门手册</a></li>
    <li><a href="http://www.easyes.com.cn" target="_blank"><i class="iconfont">&#xf0da;</i> 官方网站</a></li>
    </ul>
</div> 
<div class="ui-layout-center"><iframe style="overflow: visible" id="main" height="100%" src="{url('default/welcome')}" frameborder=0 width="100%" name="main" scrolling="yes"></iframe></div>
<div id="targetBox" class="fn-hide targetBox">
<ul class="fn-f14 lh25">
    <li><a href="{url('user/password')}" target="main"><i class="iconfont">&#xf023;</i> 修改密码</a></li>
    <li><a href="{url('default/logout')}" target="_top"><i class="iconfont">&#xf011;</i> 注销登陆</a></li>
</ul>
</div>
<script type="text/javascript"> 
Do('base','layout','dialog','tip',function(){ 
    var myLayout = $('body').layout({
        west__size:200,west__spacing_open:0,west__closable:false,fxSpeed:"slow",
        north__size:50,north__spacing_open:4,north__closable:false,
    });
    $(".nav").click(function() {
        var targetUrl = $(this).attr("uid");
        $(".ui-layout-west").load(targetUrl);
        $(".nav").removeClass("focus");
        $(this).addClass("focus");
    });
    $("#UserList").powerFloat();
});
</script>